package com.lablzh.gdxy.service;

import com.lablzh.gdxy.entity.assistant.Assistant;
import com.lablzh.gdxy.entity.assistant.AssistantApply;
import com.lablzh.gdxy.entity.assistant.StudentAssistant;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.FileNotFoundException;
import java.util.List;

public interface AssistantService {
    String createTeam(Assistant assistant);

    String updateTeam(Assistant assistant);

    List<Assistant> getAllTeam();

    String apply(Integer id);

    List<AssistantApply> applyTeacher();

    List<AssistantApply> applyStudent();

    List<AssistantApply> applyTeam(Integer id);

    String confirm(Integer id);

    String refuse(Integer id);

    List<StudentAssistant> queryPerformance(StudentAssistant studentAssistant);

    void getStudentChoose(String type, String college, String major, String grade, String category, HttpServletRequest request, HttpServletResponse response) throws FileNotFoundException;

    void getAssistantChoose(String college, String grade, String category,HttpServletRequest request, HttpServletResponse response) throws FileNotFoundException;

    void getAssistantArrange(String college, String major, String grade, String category, String sortMethod, HttpServletRequest request, HttpServletResponse response) throws FileNotFoundException;


    void getAssistantOffer(String college, String major, String grade, String category, String sortMethod, HttpServletRequest request, HttpServletResponse response) throws FileNotFoundException;

    Assistant getOneTeam(Integer id);

    String undo(Integer id);

    String deleteTeam(Integer id);

}
